<?php
include_once '../classes/validate/ValidateLogin.php';

//$varValidade = new ValidateLogin();

    $values = array('email'=>$_POST['email'],
                    'senha'=>$_POST['senha']);


    if(ValidateLogin::validarLogin($values)){
        require_once '../view/profile.php';
    }
    else{
        require_once '../view/splashErrorLogin';
    }

?>
